package com.pmsystem.dao;

import com.pmsystem.pojo.ElectricConsume;
import com.pmsystem.pojo.ElectricConsumeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ElectricConsumeMapper {
    long countByExample(ElectricConsumeExample example);

    int deleteByExample(ElectricConsumeExample example);

    int deleteByPrimaryKey(Integer electricConsumeId);

    int insert(ElectricConsume record);

    int insertSelective(ElectricConsume record);

    List<ElectricConsume> selectByExample(ElectricConsumeExample example);

    ElectricConsume selectByPrimaryKey(Integer electricConsumeId);

    int updateByExampleSelective(@Param("record") ElectricConsume record, @Param("example") ElectricConsumeExample example);

    int updateByExample(@Param("record") ElectricConsume record, @Param("example") ElectricConsumeExample example);

    int updateByPrimaryKeySelective(ElectricConsume record);

    int updateByPrimaryKey(ElectricConsume record);

    /**
     * 
     * <p>Title: findElectricConsume</p >  
     * <p>Description: 按一定条件查询电费</p >  
     * @author 泽强
     * @param mapToMapWithoutNull
     * @return
     */
	List<ElectricConsume> findElectricConsume(Map<String, Object> mapToMapWithoutNull);
}